package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 * ClassName: PaymentDao
 * Package: com.atguigu.springcloud.dao
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-08-28
 * Time: 21:25
 */

@Mapper
public interface PaymentDao {

    //写
    public int create(Payment payment);

    //读
    public Payment getPaymentById(@Param("id") Long id);

}
